package com.qf.lanzhou.shop.api.exceptions;

import lombok.Data;

/**
 * @author jack
 */
@Data
public class BaseExceptions extends RuntimeException {
    private int errorCode;

    public BaseExceptions() {
    }

    public BaseExceptions(int errorCode, String errorMsg) {
        super(errorMsg);
        this.errorCode = errorCode;
    }
}
